<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel="stylesheet" type="text/css"
	href="<c:url value="/design.css"/>">
<link rel="icon" type="image/png"
	href="<c:url value="/pics/design/favicon.ico"/>" />
<title><c:out value="${affichage.article.nom}" /> - Nerd Shop</title>
</head>
<jsp:include page="/header.jsp" />
<body>
	<p id="arianne">
		<a href="<c:url value="/home"/>">accueil</a> &gt; <a
			href="<c:url value="/categorie"/>?id=<c:out value="${affichage.article.section.categorie.id}"/>"><c:out
				value="${affichage.article.section.categorie.nom}" /></a> &gt; <a
			href="<c:url value="/section"/>?id=<c:out value="${affichage.article.section.id}"/>"><c:out
				value="${affichage.article.section.nom}" /></a> &gt;
		<c:out value="${affichage.article.nom}" />
	</p>
	<table>
		<tr>
			<td rowspan="2" id="article_img"><img
				src="<c:url value="/pics/articles/"/>pic<c:out value="${affichage.article.id}"/>.jpg"
				alt="photo de <c:out value="${affichage.article.nom}"/>" /></td>
			<td><h1><c:out value="${affichage.article.nom}" /></h1><br><h3>REF: <c:out
					value="${affichage.article.id}" /></h3><br><h4>stock restant:<c:out value="${affichage.article.quantite}" /></h4></td>
			<td rowspan="2" id="article_prix"><c:out value="${affichage.article.prix}" />&euro;<br>
				<form action=<c:url value="/ajouterPanier"/> method="post">
					<input type="hidden"
						value="<c:out value="${affichage.article.id}"/>" name="id" /> <select
						name="quantite">
						<option value="1">1</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="10">10</option>
					</select> <input type="submit" value="ajouter au panier" />
				</form></td>
		</tr>
		<tr>
			<td><c:out value="${affichage.article.description}" /></td>
		</tr>
	</table>

</body>
<jsp:include page="/footer.jsp" />
</html>